#@cmsLayout()

#define cmsContent()
<div class="cms-breadcrumb">
	<i class="layui-icon layui-icon-flag"></i>
	<span class="layui-breadcrumb">
	  	<a href="">用户管理</a>
	  	<a><cite>新增用户</cite></a>
	</span>
</div>

<div class="body-card layui-card">
	<form id="saveAccount" class="layui-form" action="#(ctx)/cmsAccount/saveAccount" method="post" onsubmit="return false;">
  		#(token)
  		<div class="layui-form-item">
    		<label class="layui-form-label"><span class="color-warn">*</span> 昵称</label>
    		<div class="layui-input-inline">
      			<input type="text" name="nickName" placeholder="请输入昵称" class="layui-input" value="#(nickName)">
    		</div>
    		<div class="layui-form-mid layui-word-aux">用户昵称，便于记忆的</div>
  		</div>
  		<div class="layui-form-item">
    		<label class="layui-form-label"><span class="color-warn">*</span> 登录名</label>
    		<div class="layui-input-inline">
      			<input type="text" name="userName" placeholder="请输入登录名" class="layui-input" value="#(userName)">
    		</div>
    		<div class="layui-form-mid layui-word-aux">登录使用的</div>
  		</div>
  		<div class="layui-form-item">
    		<label class="layui-form-label"><span class="color-warn">*</span> 密码</label>
    		<div class="layui-input-inline">
      			<input type="password" name="password" placeholder="请输入密码" class="layui-input" value="#(password)">
    		</div>
    		<div class="layui-form-mid layui-word-aux">设定初始密码</div>
  		</div>
  		<div class="layui-form-item">
    		<div class="layui-input-block">
      			<button class="layui-btn" onclick="ajaxSaveForm('#saveAccount')">立即提交</button>
      			<button type="reset" class="layui-btn layui-btn-primary">重置</button>
    		</div>
  		</div>
  		<div class="msg-#(ret.state??)">
  			#(ret.msg??)
  		</div>
  	</form>
</div>

#@jsInit()
#end